<script lang="tsx">

import { PropType, defineComponent, ref, computed, unref, watch, onMounted } from 'vue'

export default defineComponent({
  name:'CmpTest',
  props:{

  },
  emits:[],
  setup(props, {slots,expose,emit}){

    onMounted(()=>{
        console.log("hello");
        
    })

    //提供方法给父组件调用
    expose({
      
    })

    //watch()

    return ()=>(
      <el-button type="primary">hello</el-button>
    )
  }
})
</script>

<style lang="less" scoped>

</style>